package com.mit.common.design.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.mit.common.dto.AbstractDTO;

public class TemplateDTO extends AbstractDTO {
	
	private Integer styleId;
	private StyleDTO style;
	private String size;
	private String type;
	private Integer worker;
	private String workerName;
	private String state;
	private Integer partCount;
	private Date creationDate;
	private List<TemplatePartDTO> parts;
	
	
	public TemplateDTO(){
		style = new StyleDTO();
		parts = new ArrayList<TemplatePartDTO>();
	}
	
	public List<TemplatePartDTO> getParts() {
		return parts;
	}

	public void setParts(List<TemplatePartDTO> parts) {
		this.parts = parts;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Integer getStyleId() {
		return styleId;
	}
	public void setStyleId(Integer styleId) {
		this.styleId = styleId;
	}
	public StyleDTO getStyle() {
		return style;
	}
	public void setStyle(StyleDTO style) {
		this.style = style;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getWorker() {
		return worker;
	}
	public void setWorker(Integer worker) {
		this.worker = worker;
	}
	public String getWorkerName() {
		return workerName;
	}
	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public Integer getPartCount() {
		return partCount;
	}

	public void setPartCount(Integer partCount) {
		this.partCount = partCount;
	}

	

}
